package com.yj.lottery_system.controller.result;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class FindPrizeListResult implements Serializable {
    //奖品总数
    private Integer total;
    //当前页奖品
    private List<PrizeInfo> records;
    @Data
    public static class  PrizeInfo implements Serializable {
       //奖品id
        private Long prizeId;

        //奖品名
        private String prizeName;

        //奖品描述
        private String description;

        //图片索引
        private String imageUrl;

        //奖品价值
        private BigDecimal price;

    }
}
